﻿@page
@model XZTZ.UMP.WEB.Pages.Flow.FlowTemplateStep.CreateModel

@{
    ViewData["Title"] = "Create";
}

<h1>Create</h1>
<hr />
<div class="row">
    <div class="col-md-4">
        <form method="post">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.strStepName" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.strStepName" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.strStepName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.strCheckType" class="control-label"></label>
               
                <select class="form-control">
                    <option value="01" selected="selected">一人签字有效</option>
                    <option value="02">多人签字有效</option>
                    <option value="03">同时签字有效</option>
                </select>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.intLimitDate" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.intLimitDate" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.intLimitDate" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.strStepTypeID" class="control-label"></label>
                <select asp-for="Flow_TemplateStep.strStepTypeID" class ="form-control" asp-items="ViewBag.strStepTypeID"></select>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.guidRuleID" class="control-label"></label>
                <select asp-for="Flow_TemplateStep.guidRuleID" class ="form-control" asp-items="ViewBag.guidRuleID"></select>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.guidPreviousStep" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.guidPreviousStep" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.guidPreviousStep" class="text-danger"></span>

            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.guidNextStep" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.guidNextStep" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.guidNextStep" class="text-danger"></span>
               
                <select asp-for="MovieGenre" asp-items="Model.Genres">

                </select>
            </div>
          
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.intIndexNo" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.intIndexNo" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.intIndexNo" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Flow_TemplateStep.stepPolicy" class="control-label"></label>
                <input asp-for="Flow_TemplateStep.stepPolicy" class="form-control" />
                <span asp-validation-for="Flow_TemplateStep.stepPolicy" class="text-danger"></span>
            </div>
            <div class="form-group">
                <input type="submit" value="Create" class="btn btn-primary" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-page="Index">Back to List</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
